//
//  NovelDatabase.h
//  数据库
//
//  Created by 霍文轩 on 15/8/14.
//  Copyright (c) 2015年 霍文轩. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CollectNewsModel;

@interface CollectNewsDatabase : NSObject
+(void)insertWithModel:(CollectNewsModel *)model;
+(void)deleteWithId:(NSInteger)myId;
+(NSArray *)selectAll;
+(CollectNewsModel *)selectWithId:(NSInteger)myId;
+(CollectNewsModel *)selectWithTitle:(NSString *)subString;
@end
